package com.example.utils;

import cn.hutool.core.util.IdUtil;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/3/20 上午1:49
 */
public class IdUtils {

    /***
     * 获取随机id
     * @return
     */
    public static String getId() {
        return IdUtil.getSnowflakeNextIdStr();
    }
}
